
/* profile */
.profile {
    text-align: left;
    margin-bottom: 60px;
}

.profile h1 {
    padding-top: 30px;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

.profile-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.profile-picture {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.profile-text {
    flex: 1;
}

.profile-para-2 {
    margin-top: 30px;
}

.profile p {
    font-size: var(--p-font-size);
    line-height: var(--line-height);
    margin-bottom: 15px;
}

/* Responsive layout for smaller screens */
@media screen and (max-width: 768px) {
    .profile {
        text-align: left;
    }
    
    .profile h1 {
        padding-top: 30px;
        font-size: 38px;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .profile-content {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .profile-picture {
        width: 160px;
        height: 160px;
        margin-bottom: 0;
        flex-shrink: 0;
        order: 2;
    }
    
    .profile-text {
        flex: 1;
        min-width: 0;
        order: 1;
        display: contents;
    }
    
    .profile-para-1 {
        order: 1;
        flex: 1;
        min-width: 0;
    }
    
    .profile-para-2 {
        order: 3;
        flex-basis: 100%;
        width: 100%;
        margin-top: 0;
    }
}

.profile .icons {
    display: none;
}

/* about */

.about p, p {
    margin-top: 3px;
    margin-bottom: 8px;
    font-size: var(--p-font-size);
    letter-spacing: normal;
}


/* education */

.education .school h3 {
    margin: 0;
}

.education .school p {
    color: var(--third-color);
    margin: 5px 0;
}

/* talks */

.talks-podcasts {

}
.podcast {
    display: flex;
    flex-direction: column;
    padding: 10px;
    transition: var(--background-color) 0.3s;
    cursor: pointer;
    text-decoration: none;
    border: var(--border-size) solid var(--border-color);
    margin-bottom:30px;
}

.podcast img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.podcast-details h3 {
    margin: 0;
    font-weight: bold;
}
.podcast-details p {
    margin: 5px 0;
    color: var(--third-color);
}
.podcast-details p:first-of-type {
    font-weight: bold;
    color: var(--secondary-color);
}




/* hackathons */

.hackathons {
    position: relative;
    margin-top: 50px;
    margin-bottom: 30px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hackathon {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px; 
    padding-bottom: 20px; 
    border-bottom: var(--border-size) dotted #cccccc23;
}

.hackathons h2 {
    margin-bottom:30px;
}

.hackathon h3 {
    font-weight:400;
    font-size: var(--h3-font-size)
}

.hackathon img {
    width: auto;
    height: auto;
    max-width: 60px;
    max-height: 60px; 
    object-fit: contain; 
    background-color: var(--main-background-color);
    margin-right: 20px;
    display: block; 
    flex-shrink: 0; 
}

.hackathon h3 {
    color: var(--secondary-color);
    margin: 0;
}

.hackathon p {
    margin: 5px 0;
    color: var(--third-color);
}

.hackathon .award {
    color:rgb(255, 242, 185);
    font-size: var(--p-font-size)+2;
    font-weight:600;
}

/* writing link */
.writing-link {
    margin-left: auto;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    font-size: 28px !important;
    transition: all 0.3s ease;
    font-weight: 400;
    display: inline-block;
    color: var(--secondary-color);
}

.writing-link:hover {
    text-decoration-color: var(--link-hover-color);
    color: var(--link-hover-color);
    transform: translateY(-2px);
}

.writing-link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.writing-link:hover .arrow {
    transform: translateX(5px);
}

